//=============================================================================
/**
 * @file	pkthln_frame_seq_def.h
 * @brief	ポケスロンフレームシーケンス定義
 * @date	2007.07.10
 */
//=============================================================================

#ifndef	__PKTHLN_FRAME_SEQ_DEF_H__
#define	__PKTHLN_FRAME_SEQ_DEF_H__

typedef enum {
	FRAME_SEQ_SHARE_EVENT,
	FRAME_SEQ_POKE_SELECT,

	FRAME_SEQ_WAIT_POKE_SEL,

	FRAME_SEQ_POKE_ENTRY,
	FRAME_SEQ_PARENT_SHARE_POKE,

	FRAME_SEQ_SET_MYSTATUS,
	FRAME_SEQ_GET_RANKDATA,
///	FRAME_SEQ_PARENT_SHARE_RANKDATA,

	FRAME_SEQ_OPENING_SET,
	FRAME_SEQ_OPENING_INIT,
	FRAME_SEQ_OPENING_MAIN,
	FRAME_SEQ_OPENING_END,

	FRAME_SEQ_EVT_CALL_SET,
	FRAME_SEQ_EVT_CALL_INIT,
	FRAME_SEQ_EVT_CALL_MAIN,
	FRAME_SEQ_EVT_CALL_END,

	FRAME_SEQ_EVENT_SET,
	FRAME_SEQ_EVENT_INIT,
///	FRAME_SEQ_CHANGE_EVENT_COMMAND,
	FRAME_SEQ_EVENT_SHARE_DATA,
	FRAME_SEQ_EVENT_MAIN,
	FRAME_SEQ_EVENT_RSLT_SHARE_START,
	FRAME_SEQ_EVENT_RESULT_SHARE,
	FRAME_SEQ_PARENT_SHARE_RESULT,

	FRAME_SEQ_EVENT_RESULT_MAKE,
	FRAME_SEQ_EVENT_END,
	FRAME_SEQ_EVENT_NEXT,

	FRAME_SEQ_RESULT_SET,
	FRAME_SEQ_RESULT_INIT,
	FRAME_SEQ_RESULT_MAIN,
	FRAME_SEQ_RESULT_END,

	FRAME_SEQ_SEND_EVT_ACT_DATA,
	FRAME_SEQ_PARENT_SHARE_ACT_DATA,

	FRAME_SEQ_ENDING_SET,
	FRAME_SEQ_ENDING_INIT,
	FRAME_SEQ_ENDING_MAIN,
	FRAME_SEQ_ENDING_END,

	FRAME_SEQ_SEND_MY_JUICEDATA,
	FRAME_SEQ_SET_JUICEDATA,
///	FRAME_SEQ_PARENT_SHARE_JC_DATA,

	FRAME_SEQ_END,
	FRAME_SEQ_CALLBACK_WAIT,
}FRAME_SEQ;

typedef enum {
	SYNCHROID_NONE = 0,
	PKTHLN_SYNC_ID_EVT_NO_WAIT,
	PKTHLN_SYNC_ID_SELECT_WAIT,
	PKTHLN_SYNC_ID_ENTRY_WAIT,
	PKTHLN_SYNC_ID_MYSTATUS_WAIT,
	PKTHLN_SYNC_ID_RANKDATA_WAIT,
	PKTHLN_SYNC_ID_OPENING_INIT_WAIT,
	PKTHLN_SYNC_ID_EVT_CALL_INIT_WAIT,
	PKTHLN_SYNC_ID_INIT_WAIT,
	PKTHLN_SYNC_ID_COMMAND_CHANGE_WAIT,
	PKTHLN_SYNC_ID_EVT_SHARE_DATA_WAIT,
	PKTHLN_SYNC_ID_RESULT_INIT_WAIT,
	PKTHLN_SYNC_ID_ENDING_INIT_WAIT,
	PKTHLN_SYNC_ID_EVTDATA_WAIT,
	PKTHLN_SYNC_ID_JUICE_ALLOC_WAIT,
	PKTHLN_SYNC_ID_JUICE_WAIT,
	PKTHLN_SYNC_ID_EVENT_END_WAIT,

	PKTHLN_SYNC_ID_GAME_START_WAIT,		//選択画面終了後の他プレーヤの選択待ち


	//↓競技内同期ID
	PKTLN_SYNC_ID_RUN_START_WAIT,		//マラソンスタート同期
	PKTLN_SYNC_ID_STL_START_WAIT,		//フラッグスタート同期
	PKTLN_SYNC_ID_JMP_START_WAIT,		//トランポリンスタート同期（通信状態が、不安定だと、3D描画が間に合わない場合があるので同期を取る）
	PKTLN_SYNC_ID_PUSH_START_WAIT,		//サークルスタート同期
};

#endif	//__PKTHLN_FRAME_SEQ_DEF_H__
